package de.stefanocke.roo.wicket.model;

import org.springframework.roo.classpath.PhysicalTypeMetadata;
import org.springframework.roo.classpath.details.annotations.populator.AutoPopulate;

import de.stefanocke.roo.wicket.RooProperties;
import de.stefanocke.roo.wicket.RoundTripMode;
import de.stefanocke.roo.wicket.base.ModelClassAwareAnnotationValuesBase;

public class BeanPropertiesAnnotationValues extends ModelClassAwareAnnotationValuesBase {

	@AutoPopulate
	private RoundTripMode roundTrip = RoundTripMode.FULL;
	
	public BeanPropertiesAnnotationValues(PhysicalTypeMetadata governorPhysicalTypeMetadata) {
		super(governorPhysicalTypeMetadata, RooProperties.class, true);
		populate();
	}
	
	public RoundTripMode getRoundTrip() {
		return roundTrip;
	}

}
